source/app.d(47,17): Error: `@safe` function `app.Options.format` cannot call `@system` function `std.stdio.makeGlobal!"core.stdc.stdio.stderr".makeGlobal` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/stdio.d(4792,20): `std.stdio.makeGlobal!"core.stdc.stdio.stderr".makeGlobal` is declared here source/app.d(48,17): Error: `@safe` function `app.Options.format` cannot call `@system` function `std.stdio.makeGlobal!"core.stdc.stdio.stderr".makeGlobal` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/stdio.d(4792,20): `std.stdio.makeGlobal!"core.stdc.stdio.stderr".makeGlobal` is declared here source/app.d(66,17): Error: `@safe` function `app.Options.mode` cannot call `@system` function `std.stdio.makeGlobal!"core.stdc.stdio.stderr".makeGlobal` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/stdio.d(4792,20): `std.stdio.makeGlobal!"core.stdc.stdio.stderr".makeGlobal` is declared here source/app.d(67,17): Error: `@safe` function `app.Options.mode` cannot call `@system` function `std.stdio.makeGlobal!"core.stdc.stdio.stderr".makeGlobal` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/stdio.d(4792,20): `std.stdio.makeGlobal!"core.stdc.stdio.stderr".makeGlobal` is declared here source/app.d(81,22): Error: `@safe` function `app.Options.inputs` cannot call `@system` function `std.stdio.makeGlobal!"core.stdc.stdio.stdin".makeGlobal` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/stdio.d(4792,20): `std.stdio.makeGlobal!"core.stdc.stdio.stdin".makeGlobal` is declared here source/app.d(88,61): Error: `@safe` function `app.Options.output` cannot call `@system` function `std.stdio.makeGlobal!"core.stdc.stdio.stdout".makeGlobal` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/stdio.d(4792,20): `std.stdio.makeGlobal!"core.stdc.stdio.stdout".makeGlobal` is declared here source/app.d(129,12): Error: `@safe` function `app.tokens` cannot call `@system` function `std.stdio.File.byLine!(char, char).byLine` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/stdio.d(2283,10): `std.stdio.File.byLine!(char, char).byLine` is declared here /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/regex/internal/ir.d(525,41): Error: `@safe` function `std.regex.internal.ir.RuntimeFactory!(BacktrackingMatcher, char).RuntimeFactory.construct` cannot call `@system` function `std.conv.emplace!(EngineType!(char, Input!char), const(Regex!char), Input!char, void[]).emplace` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/conv.d(4724,3): `std.conv.emplace!(EngineType!(char, Input!char), const(Regex!char), Input!char, void[]).emplace` is declared here /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/regex/internal/parser.d(36,28): Error: template instance `std.regex.internal.ir.RuntimeFactory!(BacktrackingMatcher, char)` error instantiating /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/regex/internal/parser.d(1025,25): instantiated from here: `makeRegex!(string, CodeGen)` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/regex/package.d(443,19): instantiated from here: `Parser!(string, CodeGen)` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/regex/package.d(391,25): instantiated from here: `regexImpl!string` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/regex/package.d(399,17): ... (4 instantiations, -v to show) ... /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/algorithm/iteration.d(1288,16): instantiated from here: `FilterResult!(__lambda3, FilterResult!(unaryFun, Result))` source/app.d(136,9): instantiated from here: `filter!(FilterResult!(unaryFun, Result))` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/regex/internal/ir.d(525,41): Error: `@safe` function `std.regex.internal.ir.RuntimeFactory!(ThompsonMatcher, char).RuntimeFactory.construct` cannot call `@system` function `std.conv.emplace!(EngineType!(char, Input!char), const(Regex!char), Input!char, void[]).emplace` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/conv.d(4724,3): `std.conv.emplace!(EngineType!(char, Input!char), const(Regex!char), Input!char, void[]).emplace` is declared here /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/regex/internal/parser.d(38,27): Error: template instance `std.regex.internal.ir.RuntimeFactory!(ThompsonMatcher, char)` error instantiating /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/regex/internal/parser.d(1025,25): instantiated from here: `makeRegex!(string, CodeGen)` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/regex/package.d(443,19): instantiated from here: `Parser!(string, CodeGen)` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/regex/package.d(391,25): instantiated from here: `regexImpl!string` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/regex/package.d(399,17): ... (4 instantiations, -v to show) ... /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/algorithm/iteration.d(1288,16): instantiated from here: `FilterResult!(__lambda3, FilterResult!(unaryFun, Result))` source/app.d(136,9): instantiated from here: `filter!(FilterResult!(unaryFun, Result))` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/algorithm/iteration.d(1288,16): instantiated from here: `FilterResult!(__lambda3, FilterResult!(unaryFun, Result))` source/app.d(150,9): instantiated from here: `filter!(FilterResult!(unaryFun, Result))` source/app.d(185,35): Error: `@safe` function `app.decodeChain` cannot call `@system` function `markov.binary.decoder.decodeBinary!string.decodeBinary` ../5b9abc0fdb9dc65e5c924ecf-markov/source/markov/binary/decoder.d(152,15): `markov.binary.decoder.decodeBinary!string.decodeBinary` is declared here source/app.d(189,33): Error: `@safe` function `app.decodeChain` cannot call `@system` function `markov.json.decoder.decodeJSON!string.decodeJSON` ../5b9abc0fdb9dc65e5c924ecf-markov/source/markov/json/decoder.d(78,15): `markov.json.decoder.decodeJSON!string.decodeJSON` is declared here source/app.d(199,21): Error: `@safe` function `app.encodeChain` cannot call `@system` function `markov.binary.encoder.encodeBinary!string.encodeBinary` ../5b9abc0fdb9dc65e5c924ecf-markov/source/markov/binary/encoder.d(141,6): `markov.binary.encoder.encodeBinary!string.encodeBinary` is declared here source/app.d(203,19): Error: `@safe` function `app.encodeChain` cannot call `@system` function `markov.json.encoder.encodeJSON!string.encodeJSON` ../5b9abc0fdb9dc65e5c924ecf-markov/source/markov/json/encoder.d(85,6): `markov.json.encoder.encodeJSON!string.encodeJSON` is declared here source/app.d(236,27): Error: `@safe` function `app.generate` cannot call `@system` function `markov.chain.MarkovChain!string.MarkovChain.generate!().generate` ../5b9abc0fdb9dc65e5c924ecf-markov/source/markov/chain.d(74,7): `markov.chain.MarkovChain!string.MarkovChain.generate!().generate` is declared here source/app.d(255,19): Error: cannot take address of local `chain` in `@safe` function `polo` source/app.d(258,14): Error: cannot take address of local `chain` in `@safe` function `polo` source/app.d(259,18): Error: cannot take address of local `chain` in `@safe` function `polo` /opt/dmd-safe/dmd/dmd-safe failed with exit code 1.